import com.lbx.mapper.UserMapper;
import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author 吕兵星
 * @date 2020/10/22 14:18
 */
public class MyTestTrans {
    @Test
    public  void test(){
        UserMapper userMapper = new ClassPathXmlApplicationContext("applicationContext.xml")
                .getBean("userMapperImpl", UserMapper.class);
        ;
        userMapper.selectOne(3);
    }
}
